package cn.iocoder.yudao.module.member.controller.admin.deliverypersoninfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.*;
import java.util.List;
import java.util.Set;

@Schema(description = "管理后台 - 配送员信息扩展新增/修改 Request VO")
@Data
public class DeliveryPersonInfoSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15683")
    private Long id;

    @Schema(description = "对外展示", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "对外展示不能为空")
    private String code;

    @Schema(description = "姓名", example = "芋艿")
    private String name;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "头像照片url")
    private String avatar;

    @Schema(description = "车辆id", example = "3767")
    private Long vehicleId;

    @Schema(description = "门店id", example = "28315")
    private Long deptId;

    @Schema(description = "性别")
    private Integer gender;

    @Schema(description = "雇佣卡号")
    private String employeeCardNum;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "0配送员 1 司机", example = "1")
    private Integer type;

    @Schema(description = "状态", example = "0")
    private Integer status;

    @Schema(description = "接单状态", example = "1")
    private Integer receiveOrderStatus;

    @Schema(description = "系统用户id", example = "25221")
    private Long systemUserId;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "更新人")
    private String updater;

    @Schema(description = "权限id")
    private List<Long> roleId;

    /**
     * 岗位编号数组
     */
    @Schema(description = "岗位编号数组")
    private Set<Long> postIds;
}